
package combat.dudes.server.protocol.implementation;

import combat.dudes.protocol.interfaces.OrderMovementInt;
import combat.dudes.protocol.types.OrderType;


public class OrderMovement extends Order implements OrderMovementInt {

	private static final long serialVersionUID = 1L;

	public OrderMovement() {
		this.setType(OrderType.MOV);
	}
	public OrderMovement(Object target, double speed) {
		super(target, OrderType.MOV);
		this.speed = speed;
	}

	private double speed = 0.0;
	@Override
	public double getSpeed() {
		return speed;
	}
	@Override
	public void setSpeed(double speed) {
		this.speed = speed;
	}

}
